Mail server¶
I have been running zarafa mail server for a long time - 14 yrs, it is time to get it in to a more maintainable / cloud native way.
I have been looking and different mail setup to be inspired - I would like to have used “plug-and-play” via mailu kunbernetes however it leverages nginx as ingress - not really a fan so.. I will roll with something else.
Then there is the kubernetes-mail-server that has been inspired from mailu to some extend. I got inspired from both and modified it with input from this article from linuxize.
Components¶
As always I am going to leverage some OSS in this setup.
- postfix: I need to be able to send and receive mails, this is done via postfix (MTA).
- rspam: Rspam is going to be used for spam filtering as well as signing outbound emails with DKIM
- dovecot: Mail delivery agent, for IMAP/ POP3 access, mail delivery, authentication and more.
- clamav: Clam AntiVirus is a free software, cross-platform and open-source antivirus software toolkit able to detect many types of malicious software, including viruses.
- roundcube: A web based IMAP email client, this can integrate with my nextcloud contacts and calender.
- postfixadmin: Web interface which enables you to manage mailboxes, virtual domains and aliases.
Email flow¶
Build the components¶
I am going to run everything off custom build docker images to be sure that they are build the way that I want and that they can run in my k8s cluster.